
ATShow = {}

function ATShow.OnItemLButtonClick()
	local szName = this:GetName()
	if szName == "Image_Buy" then
		local Handle_Node = this:GetParent()
		local dwID = Handle_Node.dwID
		local tInfo = AT.tDataCache[dwID]

		if tInfo then
			AT.Buy(dwID, tInfo.dwItemID, tInfo.dwCRC, tInfo.tPrice)
		end
	end
end

function ATShow.OnItemMouseEnter()
	local szName = this:GetName()
end

function ATShow.OnItemMouseLeave()
	local szName = this:GetName()
end

function ATShow.Open()
	local hWnd = Wnd.OpenWindow("Interface\\AT\\ATShow.ini", "ATShow")
	hWnd:Hide()
end

ATShow.Open()